from django.conf.urls import patterns,url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'uploader.views.home', name='home'),
    # url(r'^uploader/', include('uploader.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
    #
    # [upload - no admin]
    url(r'^upload$', 'pao.views.upload'),
    url(r'^listado$', 'pao.views.listado'),
    #url(r'^(?P<rfc>[A-Za-z]{4}[0-9]{6})/$', 'pao.views.modificar'),
    url(r'^$', 'pao.views.index'),
    url(r'^modificar/(?P<rfc>[A-Za-z]{3,4}[0-9]{6}[A-Z0-9]{3})$', 'pao.views.modificar'),
    url(r'^ignorar/(?P<rfc>[A-Za-z]{3,4}[0-9]{6}[A-Z0-9]{3})$', 'pao.views.ignorar'),
    url(r'^modificar/(?P<rfc>[A-Za-z]{3,4}[0-9]{6}[A-Z0-9]{3})/actualizar/$', 'pao.views.actualizar'),
    url(r'^consultar$','pao.views.consultar'),
    url(r'^grupo/(?P<hash_id>[a-z0-9]{32})/$', 'pao.views.grupo'),
)
